<template>
    <span>
        <template  v-if="action == 'edit' || action == 'search' ">
            <el-input
                    :value="value"
                    v-on="$listeners"
                    placeholder="请输入图片地址"
            ></el-input>
        </template>
        <template  v-if="action == 'table'">
            <img :src="value" width="40" style="border-radius: 10px;"  v-viewer />
        </template>
    </span>
</template>
<script>
    import base from './base.js';
    export default {
        extends:base,
        props: {
        },
        data() {
            return {
                searchModel:false,
            }
        },
    }
</script>
<style>
</style>